.outer-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: auto;

  .main-content {
    width: 93.88%;
    height: 92.98%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 24px;

    .left-pannel {
      width: 21%;
      height: 100%;
      background-color: #fff;
      border-radius: 12px;

      .module-title {
        height: 46px;
        border-bottom: 1px solid #e8e8e8;
        padding-left: 24px;
        display: flex;
        align-items: center;
        font-size: 16px;
        font-family: PingFang SC-Medium, PingFang SC;
        font-weight: 500;
        color: #333333;
      }

      .module-content {
        .type-item {
          .material-type {
            padding: 0 24px;
            height: 34px;
            background: #f5faff;
            border-radius: 4px 4px 4px 4px;
            display: flex;
            justify-content: space-between;
            align-items: center;
          }
          .material-wrapper {
            padding: 0 24px;
            .material-item {
              list-style: none;
              height: 34px;
              background: #fff;
              border-radius: 4px 4px 4px 4px;
              margin-top: 8px;
              border: 1px solid transparent;
              cursor: pointer;
              display: flex;
              align-items: center;
              padding-left: 20px;
              font-size: 14px;
              font-family: PingFang SC-Medium, PingFang SC;
              font-weight: 500;
              color: #666666;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
            }

            .active-material {
              color: #409fff;
              border: 1px solid #409fff;
            }
          }
        }

        .active {
          border: 1px solid #409fff;
          color: #409fff !important;
        }
      }
    }

    .right-pannel {
      width: 77.47%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .material-preview {
        height: 61.31%;
        background-color: #fff;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        .module-title {
          height: 46px;
          border-bottom: 1px solid #e8e8e8;
          padding-left: 24px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding-right: 30px;
          font-size: 16px;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #333333;

          > span:nth-child(2) {
            cursor: pointer;
          }
        }

        .module-content {
          flex: 1;
          overflow: auto;
          .preview-wrapper {
            height: 100%;
            overflow: auto;
            display: flex;
            align-items: center;
            justify-content: center;
          }
        }
      }

      .mark-pannel {
        height: 36.06%;
        background-color: #fff;
        border-radius: 12px;
        display: flex;
        flex-direction: column;

        .module-title {
          display: flex;
          height: 68px;
          justify-content: space-between;
          align-items: center;
          border-bottom: 1px solid #e8e8e8;
          padding: 0 24px;

          .rules {
            height: 32px;
            background: #f5faff;
            font-size: 14px;
            font-family: PingFang SC-Bold, PingFang SC;
            font-weight: bold;
            color: #409fff;
            display: flex;
            align-items: center;
            padding: 0 20px;
          }
        }

        .module-content {
          position: relative;
          flex: 1;
          ul {
            padding: 0 24px;
            li {
              height: 38px;
              display: flex;
              justify-content: space-between;
              align-items: center;
              border-bottom: 1px solid #e8e8e8;
              padding-left: 12px;
              padding-right: 26px;

              .detail-name {
                display: inline-block;
                width: 60%;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
              }

              input {
                width: 30%;
              }
            }

            li:nth-child(odd) {
              background: #fafafa;
            }
          }

          .btn-wrapper {
            position: absolute;
            bottom: 24px;
            right: 24px;

            display: flex;
            justify-content: flex-end;

            button {
              border-radius: 4px 4px 4px 4px;
            }

            :global .ant-btn:first-child {
              margin-right: 12px;
            }
          }
        }
      }
    }
  }

  .copy-right {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    margin-bottom: 0;
    font-size: 12px;
    font-family: PingFang SC-Medium, PingFang SC;
    font-weight: 500;
    color: #cccccc;
  }
}
